<div id="qn_upload_div">
  <div class="postbox">
    <!-- <div class="handlediv" style="float:left;padding-top: 5px"><a href="javascript:;" onclick="$('.inside').slideToggle();" title="查看/隐藏">展开/隐藏</a></div> -->
    <div class="inside">
      <div id="batUpload2" style="display:;">
        <div id="noflash_div" class="content" style="background-color: #FFFF66; border: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px; display:none;">批量文件上传需要Flash9及以上版本，请安装或者升级您的Flash插件。请访问：<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">Adobe网站</a>获取最新的Flash插件。</div>
        <div style="width: 80%;">
          <div align="left" style="display:none;"><strong>请选择您要上传的文件</strong></div>
          <table border="0" class="fieldset">
            <tr align="left">
              <td>
                <div id="upload_btntd" style="margin-left: 0px;">
                  <span id="spanButtonPlaceHolder" style="width: 90px"></span>
                </div>
              </td>
              <td>
                &nbsp;
                <a id="btnCancel" href="javascript:qnupload.cancelQueue();" title="停止上传">停止上传</a>
                &nbsp;&nbsp;
                当前账号：wdlfpt
                &nbsp;
              </td>
              <td align="right"><span id="divStatus"></span></td>
            </tr>
          </table>
          <div id="fsUploadProgress" style="display:none;"></div>
          <!-- <div>提示：批量上传需要标准浏览器和默认安全性支持，如无法显示选择文件按钮，请使用其他上传方式。</div> -->
        </div>
      </div>
    </div>
  </div>
</div>
<!-- <link href="http://www.yunfile.com/upload/css/default.css" rel="stylesheet" type="text/css" /> -->
<style type="text/css">
.progressContainer {
  background-color: #f0f5ff;
  border: 1px solid #cee2f2;
  margin: 5px;
  padding: 4px;
}
.progressName {
  color: #555;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 400px;
}
.progressBarInProgress,
.progressBarComplete,
.progressBarError {
	font-size: 0;
	width: 0%;
	height: 2px;
	background-color: blue;
	margin-top: 2px;
}
.progressBarComplete {
	width: 100%;
	background-color: green;
	visibility: hidden;
}
.progressBarComplete {
  background-color: green;
  width: 100%;
}
</style>
<script type="text/javascript" src="http://www.yunfile.com/upload/js/qnupload.js" charset="gbk"></script>
<script type="text/javascript">
  function buildCodeForBBS(editor_id, filename, shareFile) {
    if ("zblog" == editor_id) {
      buildCodeForZB(filename, shareFile.url);
    } else {
      buildCodeForOther(editor_id, filename, shareFile);
    }
  }
  function buildCodeForZB(filename, url) {
    var ref_on = false; //是否启用ref.so短地址赚钱   1表示启用，0表示不启用
    var ref_id = "wdlfpt"; //把这里的common改为您的ref.so用户名
    var ref_url = "http://ref.so/my/" + ref_id + "/3/";

    var ueObj=UE.getEditor('editor_txt');
    var insertvalue = "";
    if (isImageFile(filename)) {
      insertvalue = "<img src=" + url + " />";
    } else {
      if (ref_on) {
        insertvalue = "下载地址(" + filename + ")：<a href=\"" + ref_url + url + "\" target=\"_blank\" title=\"" + filename + "\" rel=\"nofollow\">" + ref_url + url + "</a>";
      } else {
        insertvalue = "下载地址(" + filename + ")：<a href=\"" + url + "\" target=\"_blank\" title=\"" + filename + "\" rel=\"nofollow\">" + url + "</a>";
      }
    }
    ueObj.execCommand('insertHtml', insertvalue);
  }
  function props(value) {
    return value;
  }
  var qn_userid = "wdlfpt";
  var bbs_userid = "$windid";
  var editor_id = "zblog";
  uploadSettings.button_text = "<span class=\"theFont\">选择文件</span>";
  uploadSettings.button_image_url = "http://www.yunfile.com/upload/images/uploadbutton.png";
  var jsessionid = "4564898788";
  var mainlink = "http://www.yunfile.com/";
  var sitename = "forumName";
  var qn_action = "saveByGuest";
  init_qnupload(true);
</script>
